package com.gxa.community.core.pojo.vo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class OrderGoodsVo implements Serializable {

    @ApiModelProperty("商品id")
    private Integer id;

    @ApiModelProperty("商品no")
    private String no;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("下单数量")
    private Integer num;

    @ApiModelProperty("原价")
    private BigDecimal originalPrice;

    @ApiModelProperty("销售价")
    private BigDecimal actualPrice;

    @ApiModelProperty("佣金       	佣金类型为 2 时取值范围 0-100, 计算时应除以100, 为 3 时即为佣金金额")
    private Double commission;

    @ApiModelProperty("多张用'|'分隔, 第一张为商品头图")
    private String pic;

    @ApiModelProperty("商品状态 1启用 2禁用")
    private Integer status;
}
